<html><head><title>Mod</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">Mod()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result.f = <font color="#006666"><b>Mod</b></font>(Number.f, Divisor.f)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Returns the remainder of the division of Number.f by Divisor.f. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Number.f</i></td>
<td width="90%"> 
The number to divide. The input does not need to be a whole number. 

</td></tr>
<tr><td><i>Divisor.f</i></td>
<td> 
The number by which to divide. The input does not need to be a whole number. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns the remainder of the division. The result has the same sign as the Number.f parameter. 

</blockquote><p><b>Remarks</b></p><blockquote>

This is the floating-point version of the '%' operator for integers. 
This function can handle <a href="../reference/variables.html">float and double</a> values. 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=log10.html>Log10()</a> - <a href=index.html>Math Index</a> - <a href=nan.html>NaN()</a> ->

</body></html>